import React, { Component } from 'react';
import '../Public/iconfont.css'
import '../Public/reset.css'
import sstyle from './home_search.module.scss';


class home_search extends Component {
    goSearch=()=>{
        this.props.history.push('/search')
    }
    render() {
        return (
            <div className={sstyle.homeSearch}>
                <div className={sstyle.searchInput} onClick={this.goSearch}>
                <input type="text" placeholder="请输入商家或者美食名称" />
             
                </div>   
            </div>
        );
    }
}

export default home_search;
